home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
graphic
/
tpega.zip
/
GPINIT.P
< prev
next >
Wrap
Text File
|
1986-02-03
|
1KB
|
45 lines
{ }
{ EGA Graphic Primitive for Turbo Pascal 3.01A, Version 03FEB86. }
{ (C) 1986 by Kent Cedola, 2015 Meadow Lake Ct., Norfolk, VA, 23518 }
{ }
procedure GPINIT;
begin
inline
($A0/GDTYPE/$3C/$03/$74/$0A/$3C/$04/$74/$0A/$3C/$05/$74/$0A/$EB/$0E/$B0/
$0E/$EB/$06/$B0/$0F/$EB/$02/$B0/$10/$32/$E4/$CD/$10);
GDCOLOR := Green;
GDMERGE := 0;
GDCUR_X := 0;
GDCUR_Y := 0;
if GDTYPE = 3 then
begin
GDASPC1 := 3;
GDASPC2 := 2;
end
else
begin
GDASPC1 := 3;
GDASPC2 := 4;
end;
GDWD_X1 := 0;
GDWD_X2 := GDMAXCOL;
GDWD_X3 := GDMAXCOL + 1;
GDWD_Y1 := 0;
GDWD_Y2 := GDMAXROW;
GDWD_Y3 := GDMAXROW + 1;
GDVW_X1 := 0;
GDVW_X2 := GDMAXCOL;
GDVW_X3 := GDMAXCOL + 1;
GDVW_Y1 := 0;
GDVW_Y2 := GDMAXROW;
GDVW_Y3 := GDMAXROW + 1;
GDS_FLG := 0;
GDW_FLG := False;
end;